package com.example.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.R;
import com.example.system.entity.Department;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 王鹤蒲
 * @since 2024-01-21
 */
public interface IDepartmentService extends IService<Department> {

    public R selectAll(String name);

    public R insert(Department department);

    public R deleteById(Integer id);

    public R deleteByIds(Integer[] ids);
    public R edit(Department department);

    public R findAll();

    public R selectSecondClassDepartmentInfosList();

    public R selectDepartmentInfoById(Integer departmentId);
}
